package model;

import java.util.Date;

public class Accident {
	private Integer id;
	private String code;
	private String description;
	private String cause;
	private String activity;
	private String infolocation;
	private String infoperson;
	private String infotime;
	private String remark;
	private Date lasttime;
	private Integer status;
	private Integer creator; // 创建人
	private String attach;
	private String attachname;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCause() {
		return cause;
	}

	public void setCause(String cause) {
		this.cause = cause;
	}

	public String getActivity() {
		return activity;
	}

	public void setActivity(String activity) {
		this.activity = activity;
	}

	public String getInfolocation() {
		return infolocation;
	}

	public void setInfolocation(String infolocation) {
		this.infolocation = infolocation;
	}

	public String getInfoperson() {
		return infoperson;
	}

	public void setInfoperson(String infoperson) {
		this.infoperson = infoperson;
	}

	public String getInfotime() {
		return infotime;
	}

	public void setInfotime(String infotime) {
		this.infotime = infotime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLasttime() {
		return lasttime;
	}

	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getAttachname() {
		return attachname;
	}

	public void setAttachname(String attachname) {
		this.attachname = attachname;
	}

	@Override
	public String toString() {
		return "Accident [id=" + id + ", code=" + code + ", description="
				+ description + ", cause=" + cause + ", activity=" + activity
				+ ", infolocation=" + infolocation + ", infoperson="
				+ infoperson + ", infotime=" + infotime + ", remark=" + remark
				+ ", lasttime=" + lasttime + ", status=" + status
				+ ", creator=" + creator + ", attach=" + attach
				+ ", attachname=" + attachname + "]";
	}


}
